//
//  AppVersionInfoViewController.swift
//  DSHCMerchant
//
//  Created by 罗德良 on 2018/5/28.
//  Copyright © 2018年 袋鼠好车. All rights reserved.
//

import UIKit

class AppVersionInfoViewController: BaseViewController {

    @IBOutlet var appVersionLabel: UILabel!
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.view.backgroundColor = UIColor.white
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        
        //应用程序信息
        let infoDictionary = Bundle.main.infoDictionary!
        //主程序版本号
        let majorVersion = infoDictionary["CFBundleShortVersionString"]
        let appVersion = majorVersion as! String
        appVersionLabel.text = "版本号：" + appVersion

        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
